/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.org.waff;

import java.util.HashMap;

/**
 *
 * @author greg
 */
public class FilterProperties {
    
    private static FilterProperties instance;
    private HashMap<String, String> props;
    
    private FilterProperties(){
        props=new HashMap<String, String>();
    }
    
    public static FilterProperties getInstance(){
        if(instance==null){
            instance=new FilterProperties();
        }
        return instance;
    }
    
    public void setProperty(String name, String value){
        props.put(name, value);
    }
    
    public String getProperty(String key){
        return props.get(key);
    }
    
}
